package fleet_management

class MonthlyReport {

	String vehicleName
	String vehicleNumber
	String fuelType
	Date servicingDate
	Long servicingCost
	Date maintenanceDate
	String typeOfMaintenance
	Long maintenanceCost
	Long fuelConsumption
	Long totalFuelCost
	Long rateOfPrivateUseKm
	Long totalIncomeFromPrivateUse

	Long totalKmCovered
	Long costPerKm
	Long averageKmPerLiter
	Long totalOperatingCost
	Date startdate
	Date endDate



	static constraints = {
		vehicleName(blank:true,nullable:true)
		vehicleNumber(blank:true,nullable:true)
		fuelType(blank:true,nullable:true)
		servicingDate(blank:true,nullable:true)
		servicingCost(blank:true,nullable:true)
		maintenanceDate(blank:true,nullable:true)
		typeOfMaintenance(blank:true,nullable:true)
		maintenanceCost(blank:true,nullable:true)
		fuelConsumption(blank:true,nullable:true)
		totalFuelCost(blank:true,nullable:true)
		rateOfPrivateUseKm(blank:true,nullable:true)
		totalIncomeFromPrivateUse(blank:true,nullable:true)
		totalKmCovered(blank:true,nullable:true)
		costPerKm(blank:true,nullable:true)
		averageKmPerLiter(blank:true,nullable:true)
		totalOperatingCost(blank:true,nullable:true)
		startdate(blank:true,nullable:true)
		endDate(blank:true,nullable:true)
	}
}
